﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TouchPoint
{
    using TouchPoint.Documents;

    /// <summary>
    /// 布局引擎
    /// </summary>
    public sealed class LayoutEngine
    {
        public LayoutEngine()
        {

        }

        /// <summary>
        /// 给定宽度与高度进行布局
        /// </summary>
        /// <param name="tree"></param>
        /// <param name="width"></param>
        /// <param name="height"></param>
        public void Layout(DocumentTree tree,float width,float height)
        {

            //---------------------------------------------------------------------------------------------------
            //  遍历文档树所有节点
            //---------------------------------------------------------------------------------------------------
        }
    }
}
